﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
using System.Windows.Forms;
using ru.kefir.lab_royak_wf.ru.kefir.lab_royak_wf.interfaces;

namespace ru.kefir.lab_royak_wf.ru.kefir.lab_royak_wf.paintManager
{
    class PaintManager : PaintManagerInterface
    {
        private List<Point> pointsArray;
        private List<Pen> pens;
        private Graphics gObject;

        public PaintManager(Graphics gObject)
        {
            this.pointsArray = new List<Point>();
            this.pens = new List<Pen>();
            this.gObject = gObject;
        }

        private void paintLine(double x1, double y1, double x2, double y2)
        {
            //this.gObject.DrawLine(this.pens.in, 0, 0, 200, 200);
        }
        public void loadData(List<double> x, List<double> y) { 

        }

        public void test(){
            Pen kist = new Pen(Color.Blue);
            this.gObject.DrawLine(kist, 0, 0, 200, 200);
            
        }

        private void createPenCollection(int size) { 

        }

    }
}
